import axios from "./axios";

class RequestClient {
  constructor() {
  }

  get(url, params) {
    return axios({url, method: "get", params})
  }

  post(url, data) {
    return axios({url, method: "post", data})
  }
}

export const request = new RequestClient()
